package com.lix.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lix.pojo.model.Leave;
import com.lix.vo.workflow.req.LeaveReq;
import org.apache.ibatis.annotations.Param;

public interface LeaveMapper extends BaseMapper<Leave> {

    /**
     * 查询请假和业务状态表数据列表
     *
     * @param req
     * @return
     */
    IPage<Leave> getLeaveAndStatusList(IPage<Leave> page, @Param("req") LeaveReq req);
}
